import 'package:dio/dio.dart';

import '../util/http_util.dart';

class StaffApi {
  static Future<Response> getStaffList(dynamic data) {
    return HttpUtil.getDio().post("/liveStaff/Account/list", data: data);
  }

  static Future<Response> saveStaff(dynamic data) {
    return HttpUtil.getDio().post("/liveStaff/Account/save", data: data);
  }

  static Future<Response> getStaff(dynamic data) {
    return HttpUtil.getDio().post("/liveStaff/Account/get", data: data);
  }
}
